﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Abp.Application.Services.Dto;

namespace MyCompanyName.AbpZeroTemplate.ProductApp.Dto
{

    public class CreateProductInput:IInputDto
    {
        [Required]
        public string Name { get; set; }

        [Range(1,10000)]
        public decimal Price { get; set; }

        
        public int CategoryId { get; set; }

        public string FileName { get; set; }
    }
}
